* {
    margin: 0;
    padding: 0;
}

.main {
    width: 1200px;
    height: 1000px;
    margin: 0 auto; /*div居中*/
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

/*====================1. header ： logo+ 搜索 ====================*/
.header {
    width: 100%;
    height: 100px;
    /* background-color: silver;*/
}

.header .logo-left {
    width: 277px;
    height: 50px;

    position: relative;
    top: 25px;
    float: left;

}

.logo-left > a {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url("../images/jd-logo.png") no-repeat;
    margin-left: 20px;
}

/*头部搜索*/
.header .search-right {
    width: 326px;
    height: 36px;

    float: right;
    position: relative;
    top: 36px;
}

/*====================搜索引擎=======================*/

.search-form {
    width: 100%;
    height: 100%;
    /* background-color: springgreen;*/

}

/*单行文本框*/
.search-form .keyword {
    width: 200px;
    height: 67%;
    border: none;
    border: 1px solid #e2231a;

    padding-left: 10px;
    outline: none;
    float: left;

}

.search-form .search-btn {
    display: inline-block;
    width: 48px;
    height: 26px;
    background-color: #e2231a;
    border: none;

    float: left;
    text-decoration: none;
    font-size: 13px;
    color: white;
    text-align: center;
    line-height: 24px;
    letter-spacing: 4px;

}

/*全部商品标题区域*/

.cart-filter-bar {
    width: 100%;
    height: 40px;
    /* background-color: sandybrown;*/
    line-height: 40px;
}

.cart-filter-bar .switch-cart {
    float: left;
    width: 250px;
    height: 100%;

    /* background-color: chartreuse;*/
}

.cart-filter-bar .cart-title, .cart-pro-number {
    color: #e2231a;
    font-weight: bolder;
    font-size: 14px;
    margin-left: 20px;
}

.cart-filter-bar .cart-store {
    float: right;
    width: 320px;
    height: 100%;
}

/*配送下拉模态框*/
.cart-area-model {
    width: 400px;
    height: 200px;
    background-color: #ffffff;
    border-style: solid;

    position: absolute;
    right: 150px;
    top: 140px;
    display: none;

}
.cart-area-model ul{
    list-style: none;
    opacity: 1;
}

.cart-store:hover > div {
    display: block;
}

/*============操作的小标题============*/
.cart-head {
    width: 100%;
    height: 43px;
    /*  background-color: gray;*/
    background-color: #f3f3f3;
    font-size: 12px;
    color: gray;

}

.cart-head .head-checkbox, .head-goods, .head-props, .head-right {
    height: 25px;
    position: relative;
    top: 9px;
    line-height: 25px;
    float: left;
}

.cart-head .head-checkbox {
    width: 133px;

}

.head-checkbox input[type="checkbox"] {
    margin-left: 15px;
}

.cart-head .head-goods {
    width: 208px;

}

.cart-head .head-props {
    width: 300px;

}

.cart-head .head-right {
    width: 80px;

}

/*=================4. 商品列表==================*/
.pro-list {
    width: 100%;
    /*height: 600px;*/
    margin-bottom: 60px;

}

.pro-list > ul {
    width: 100%;
    height: 100%;
    list-style: none;
}

.pro-list > ul > li {
    width: 100%;
    height: 180px;
    border-bottom: 1px solid #c6c6c6;

}

.pro-list .shop-name {
    width: 100%;
    height: 50px;
    line-height: 60px;

    font-size: 10px;
    font-weight: bold;
    color: #777777;
    /*border-bottom: 2px solid #777777;*/
}

.pro-list .shop-name input {
    margin-left: 15px;
    margin-right: 10px;
}

/*商品详情： 左边（图片名称） + 右边（价格操作）*/
.goods-detail {
    width: 100%;
    height: 128px;

}

/*商品详情： 左边（图片名称）*/
.goods-detail .goods-left {
    width: 440px;
    height: 100%;

    float: left;
}

.goods-left input[type=checkbox] {
    margin-left: 15px;
}

.goods-left .goods-img {
    display: inline-block;
    width: 82px;
    height: 82px;

    position: relative;
    top: 23px;
    margin-left: 10px;
}

.goods-left .goods-img img {
    width: 100%;
    height: 100%;
}

.goods-left .goods-name {
    display: inline-block;
    width: 280px;
    height: 40px;
    font-size: 8px;
    text-decoration: none;
    color: gray;
    overflow: hidden;
    line-height: 18px;
    margin-left: 10px;
}

.goods-left .goods-name:hover {
    color: #e2231a;
}

/*商品详情：  右边（价格操作）*/
.goods-detail .goods-right {
    width: 410px;
    height: 100%;

    float: right;
}

.goods-detail .cell {
    float: left;
    height: 20px;
    position: relative;
    top: 54px;
    font-size: 12px;
    color: gray
}

.unit-price {
    width: 60px;
    line-height: 20px;
}

.cart-quality {
    width: 100px;

}

.cart-quality button {
    width: 17px;
    height: 17px;
    border: 1px solid #e9e9e9;
    cursor: pointer /*光标变成 小手*/
}

.cart-quality input[type="text"] {
    width: 46px;
    height: 15px;
    border: 1px solid #f1f1f1;
    text-align: center;
    font-size: 8px;
    margin-left: -5px;
    margin-right: -5px;

    outline: none;

}

/*小计*/
.goods-right .cart-xiaoji {
    width: 80px;
    font-weight: bold;
    color: #616161;

}

.goods-right .cart-delete {
    width: 50px;

}

.goods-right .cart-delete > a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #616161;
    text-align: center;

}

.goods-right .cart-delete > a:hover {
    color: #e2231a;
}

/*====================底部结算条 =========================*/
.cart-floatbar {
    width: 1200px;
    height: 52px;
    border-top: 1px solid #cecece;
    position: fixed;
    bottom: 0px;
    z-index: 99;
    background-color: white;

}

/*结算的左边*/
.cart-floatbar .jiesuan-left {
    width: 363px;
    height: 100%;

    float: left;
    line-height: 52px;
    font-size: 12px;
    color: gray;
    line-height: 52px;

}

.jiesuan-left > a {
    font-size: 12px;
    color: gray;
    text-decoration: none;
    margin-left: 20px;
}

.jiesuan-left > a:hover {
    color: #e2231a;
}

.jiesuan-left input[type=checkbox] {
    margin-left: 15px;
}

/*结算部分 右边*/
.cart-floatbar .jiesuan-right {
    width: 350px;
    height: 100%;

    float: right;
    line-height: 52px;
}

.jiesuan-right .selected-count {
    width: 110px;
    height: 100%;
    float: left;

}

.jiesuan-right .selected-count-label {
    font-size: 13px;
    color: gray;

}

.selected-count .number {
    font-size: 13px;
    font-weight: bold;
    color: #e2231a;
    margin-left: -3px;
    margin-right: -3px;
}

.zongjia {
    width: 100px;
    height: 100%;
    float: left;
}

.zongjia .zongjia-price {
    font-weight: 700;
    color: #e2231a;
    margin-right: -5px;
}

.jiesuan-btn {
    display: inline-block;
    width: 94px;
    height: 100%;
    background-color: #e2231a;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
    font-size: 18px;
    float: right;
}








